<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="../../common.jsp"%>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<script type="text/javascript" src="${staticPath}/js/app/dealer/teamdetail.js"></script>
<title>
	<c:if test="${type == 0 }">
		会员详情
	</c:if>
	<c:if test="${type == 1 }">
		团队详情
	</c:if>
</title>
</head>
<body ontouchstart>
	<c:if test="${type == 1 }">
		<header class="contHeader" style="height:109px;">
	</c:if>
	<c:if test="${type == 0 }">
		<header class="contHeader" style="height:84px;">
	</c:if>
		<div class="contOHeader" style="z-index:1000">
			<h1>
				<c:if test="${type == 0 }">
					会员详情
				</c:if>
				<c:if test="${type == 1 }">
					团队详情
				</c:if>
			</h1>
			<div class="contOHeadBack">
				<a href="javascript:;" onclick="history.go(-1)">
					<img src="${staticPath}/images/back2.png">
				</a>
			</div>
			<c:if test="${type == 1 }">
				<p style="float:right;padding-right:20px;">总消费：${totalconsumption }元</p>
			</c:if>
			<table class="table" width="100%" border="0" cellpadding="1" cellspacing="0" style="text-align: center;">
				<thead>
					<tr>
						<th scope="col" class="th" style="height:40px;width:30%">姓名</th>
						<th scope="col" class="th" style="height:40px;width:30%">电话</th>
						<c:if test="${type == 0 }">
							<th scope="col" class="th" style="height:40px;width:40%">业绩/分佣(积分)</th>
						</c:if>
						<c:if test="${type == 1}">
							<th scope="col" class="th" style="height:40px;width:40%">业绩(元)</th>
						</c:if>
					</tr>
				</thead>
			</table>
		</div>
	</header>
	<input type="hidden" id="type" name="type" value="${type }" />
	<div class="wdzjmain" id="div1" style="overflow-x: hidden;">
		<div class="weui-pull-to-refresh-layer">
			<div class="pull-to-refresh-arrow"></div>
			<div class="pull-to-refresh-preloader"></div>
			<div class="down" style="width: 80px;">下拉刷新</div>
			<div class="up">释放刷新</div>
			<div class="refresh">正在刷新...</div>
		</div>
		<table class="table" width="100%" border="0" cellpadding="1" cellspacing="0" style="text-align: center;">
			<tbody id="content">
			</tbody>
		</table>
		<div class="weui-infinite-scroll" id="loading-div" style="display: none;">
			<div class="infinite-preloader"></div>
			正在加载...
		</div>
	</div>
</body>
</html>